package com.neuedu.user.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neuedu.user.entity.Category;
import com.neuedu.user.mapper.CategoryMapper;

@Transactional
@Service
public class CategoryServiceImpl implements CategoryService  {
	 @Autowired
	 private CategoryMapper dao;

	@Override
	public List<Category> getClassfiy() {
		// TODO Auto-generated method stub
		return dao.getClassfiy();
	}

	@Override
	public Category getClassfiyById(Category c) {
		// TODO Auto-generated method stub
		return dao.getClassfiyById(c);
	}
}
